<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<script type="text/javascript" src="<%=basePath%>js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.cycle.all.js"></script>
<script type="text/javascript">  
$(function(){  
	
	$('#pics').cycle({ 
        fx:    'scrollRight' 
       });


});  
</script>

     <!-- 党建动态 -->
     <div class="span4" id="content" style='margin-left:0px;'>
        <div class="panel">
            <div class="panel-heading word tou"><a href='<%=basePath%>nb/djnews_1'>党建动态</a></div>	     
    		<div style="border:2px;align:center;height:360px;">
			<table class="table table-hover">
				<c:forEach items="${news }" var="i">
					<tr>
						<td class='title'><div class='texthidden4'>
								<a href='<%=basePath %>nb/detail/${i.id }' title="${i.title }">${i.title
									}</a>
							</div></td>
						<td style=''>${i.publishDate }</td>
					</tr>
				</c:forEach>

			</table>
		</div>
       </div>
    </div><!-- end of 科研动态 -->
    <!-- 图片展示 -->
     <div class="span8"  id="body-content" style='margin-left:16px;'>
	    <div class="panel" > 
            <div class=" " id="pics" style='margin:0 auto'>
            <c:if test="${not empty images }">
               <c:forEach items='${ images}' var='i'>
					<img style='max-width:530px;min-height:405px;align:center;margin:0 auto;' 
					alt="" src="<%=basePath%>${i.imgUrl }" />
				</c:forEach>
            </c:if>
			<c:if test="${ empty picnews  }">
				<img style='max-width:530px;min-height:405px;align:center;margin:0 auto; ' alt=""
					src="<%=basePath%>images/qzlx.jpg" />
				<img style='max-width:530px;min-height:405px;align:center;margin:0 auto; ' alt=""
					src="<%=basePath%>images/2.png" />
				<img style='max-width:560px;min-height:405px;align:center;margin:0 auto; ' alt=""
					src="<%=basePath%>images/1.jpg" />
			</c:if>
			
			<c:if test="${not  empty picnews  }">
				<c:forEach items='${ picnews}' var='i'>
					<img style='max-width:530px;min-height:405px;align:center;margin:0 auto; ' alt="" src="${i.url }" />
				</c:forEach>
			</c:if>
		</div>
       </div>  
    </div><!-- end of 图片展示 -->
     <div class='span12' style='margin-left:0px;'>
     <!-- 组织机构 -->
     <div class="span4 mk" id="content" style='margin-left:0px;'>
        <div class="panel">	
        <div class="panel-heading word tou">组织机构</div>
    		<div style="border:2px;align:center; height:200px;">
    		<table class="table table-hover"  >
				<tr><td><a href="<%=basePath%>view/static/djzc6">数学与计算机学院党委分工</a></td></tr>
				</table>
    	   </div>
    	   	     
       </div>
    </div><!-- end of 组织机构 -->
     
     <!-- 组织发展 -->
     <div class="span4" id="content" style='margin-left:17px;'>
        <div class="panel">	
        <div class="panel-heading word tou">组织发展</div>
    		<div style="border:2px;align:center;height:200px;">
				<table class="table table-hover">
					<tr>
						<td><a href="<%=basePath%>view/static/djzc31">发展党员程序</a></td>
					</tr>
					<tr>
						<td><a href="<%=basePath%>view/static/djzc32">西华大学党员教育、管理条例（试行）</a></td>
					</tr>
					<tr>
						<td><a href="<%=basePath%>view/static/djzc41">怎样写转正申请书</a></td>
					</tr>
					<tr>
						<td><a href="<%=basePath%>view/static/djzc42">怎样写思想汇报</a></td>
					</tr>
					<tr>
						<td><a href="<%=basePath%>view/static/djzc43">怎样写入党申请书</a></td>
					</tr>
				</table>

			</div>
    	   	     
       </div>
    </div><!-- end of 组织发展 -->
    
    <!-- 党建资料-->
     <div class="span4" id="content" style='margin-left:17px;'>
        <div class="panel">	
        <div class="panel-heading word tou">党建资料</div>
    		<div style="border:2px;align:center;height:200px;">
    		
    		<table class="table table-hover"  >
    		      <c:forEach items="${downloadData }" var="i">
             <tr >
              <td  class='title'  ><div class='texthidden4'><a class='downloadA' href="<%=basePath %>filedownload/download" 
              filename='${i.dataPath }' title='${i.dataName }'>${i.dataName }</a></div></td>                         
              <td style=''>${i.dataUploadTime }</td>
             
           </tr>
          </c:forEach>
          </table>
    		    
    	   </div>
    	   	     
       </div>
    </div><!-- end of 党建资料 -->
</div>
